﻿using System.Web;
using System.IO;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace CRMSystemV2.Service
{
    public static class WebExtension
    {
        /// <summary>
        /// 序列化对象
        /// </summary>
        /// <param name="json"></param>
        /// <returns></returns>
        //public static string SerializeObject(this Model.User json)
        //{
        //    return json.SerializeObject();
        //}       
        ///// <summary>
        ///// 序列化对象
        ///// </summary>
        ///// <typeparam name="T"></typeparam>
        ///// <param name="obj"></param>
        ///// <returns></returns>
        //public static string SerializeObject<T>(T obj) where T : class
        //{
        //    return JsonConvert.SerializeObject(obj);
        //}
    }
}